#pragma once
#include "SpriteObject.h"
class SpriteLine:public SpriteObject
{
public:
	SpriteLine(void);
	~SpriteLine(void);
	
	static SpriteLine *node(const cocos2d::CCPoint &ptS,const cocos2d::CCPoint &ptE);
private:
	bool init(const cocos2d::CCPoint &ptS,const cocos2d::CCPoint &ptE);
	cocos2d::CCPoint ptStart_;
	cocos2d::CCPoint ptEnd_;
};
